<div class="row-fluid">
	<div class="span12">
            
            <form style="position: absolute; margin-top: 28px; margin-left: 521px;" class="form-horizontal" id="formfilter" method="get" action="?action=<?php echo $view->action;?>">
                <input type="hidden" name="action" value="<?php echo $view->action;?>" />                
                
                <div class="control-group" style="float:left;margin-right:5px;">
                        <label class="control-label" for="select">User</label>
                        <div class="controls">
                                <select id="chosen_day" name="uid">
                                        <option value="*">---- All ----</option>
                                        <?php foreach($view->users as $u){?>
                                        <option<?php if($_GET['uid'] == $u['user_id']){?> selected="selected" <?php } ?> value="<?php echo $u['user_id'];?>" ><?php echo $u['username'];?></option>
                                        <?php } ?>    
                                </select>
                        </div>
                </div>
                
                <button type="submit" class="btn btn-primary">Filter</button>
                
            </form>
            
		<div class="box">
			<div class="box-head">
				<h3>Quick statistic</h3>
			</div>
			<div class="box-content">
                                <form action="" class="form-horizontal" method="post">				
					<fieldset>	
                                                <div class="control-group">
							<label for="basicround" class="control-label">Door open views</label>
							<div class="controls">
								<input type="text" disabled value="<?php echo $view->dooropen_views;?>">
							</div>
						</div> 
                                                <div class="control-group">
							<label for="basicround" class="control-label">Number of contributions</label>
							<div class="controls">
								<input type="text" disabled value="<?php echo $view->contribution_number;?>">
							</div>
						</div>        
                                                <div class="control-group">
							<label for="basicround" class="control-label">Application views</label>
							<div class="controls">
								<input type="text" disabled value="<?php echo $view->app_views;?>">
							</div>
						</div>
                                            <?php if(!isset($_GET['uid'])){?>
                                                <div class="control-group">
							<label for="basicround" class="control-label">Number of users</label>
							<div class="controls">
								<input type="text" disabled value="<?php echo $view->user_number;?>">
							</div>
						</div>  
                                            <?php } ?>
                                                <div class="control-group">
							<label for="basicround" class="control-label">New likes</label>
							<div class="controls">
								<input type="text" disabled value="<?php echo $view->like_number;?>">
							</div>
						</div> 
                                                
                                                <div class="control-group">
							<label for="basicround" class="control-label">TOS clicks</label>
							<div class="controls">
								<input type="text" disabled value="<?php echo $view->tos_clicks;?>">
							</div>
						</div> 
					</fieldset>
				</form>			
			</div>
		</div>
	</div>
</div>
<div class="row-fluid">
        <div class="span12">
                <div class="box">
                        <div class="box-head">
                                <h3>WYSIWYG</h3>
                        </div>
                        <div class="box-content box-nomargin">
                                <textarea name="a" class='span12 cleditor'></textarea>
                        </div>
                </div>
        </div>
</div>